package com.anrongtec.zcpt.ui.activity.myfocus;

import com.anrongtec.zcpt.model.SimpleTitleTip;
import com.anrongtec.zcpt.model.Tip;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by wangyingying on 2017/2/15.
 * 关注的title数据
 */

public class FocusTitleModel {
    private static String[] dragTips ={"新闻","核查核录","流浪人","重点人","重点车辆"};
    private static String[] addTips ={"咨询","民生服务","警民互动","博客"};
    public static List<Tip> getDragTips(){
        List<Tip> result = new ArrayList<>();
        for(int i=0;i<dragTips.length;i++){
            String temp =dragTips[i];
            SimpleTitleTip tip = new SimpleTitleTip();
            tip.setTip(temp);
            tip.setId(i);
            if (i==0){
                tip.setIsSelected(true);
            }else{
                tip.setIsSelected(false);
            }
            result.add(tip);
        }
        return result;
    }
    public static List<Tip> getAddTips(){
        List<Tip> result = new ArrayList<>();
        for(int i=0;i<addTips.length;i++){
            String temp =addTips[i];
            SimpleTitleTip tip = new SimpleTitleTip();
            tip.setTip(temp);
            tip.setId(i+dragTips.length);
            result.add(tip);
        }
        return result;
    }
}
